Carbon


MoveTo

Header: Quickdraw.h Carbon status: Supported

Moves the graphics pen to a particular location in the current graphics port.

void MoveTo (
    SInt16 h, 
    SInt16 v
);
Parameter descriptions
h

The horizontal coordinate of the graphics pen’s new position.

v

The vertical coordinate of the graphics pen’s new position.

DISCUSSION

The MoveTo function changes the graphics pen’s current location to the new horizontal coordinate you specify in the h parameter and the new vertical coordinate you specify in the v parameter. Specify the new location in the local coordinates of the current graphics port. The MoveTo function performs no drawing.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)